package com.yuan.yblog.portal.dao.mapper;


import com.yuan.yblog.crud.entity.Post;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (Post)表数据库访问层
 *
 * @author makejava
 * @since 2023-12-03 14:21:18
 */
public interface PostDao{

    List<Post> postItemList(Long level, Long userId, Long categoryId, Long offset, Long pageSize, String sortKey, Boolean isDesc);

    Long postItemListCount(Long level, Long userId, Long categoryId);
}

